package com.qk.management.controller;

import com.qk.common.Result;
import com.qk.management.service.ReportOverviewService;
import com.qk.vo.portal.PortalVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * &#064;author：zzq
 * &#064;createTime：2025/10/15 14:47
 * &#064;description： 首页报表统计controller
 */
@RestController
public class ReportOverviewController {
    @Autowired
    private ReportOverviewService reportOverviewService;

    @GetMapping("/report/overview")
    public Result reportOverview() {
        PortalVO vo = reportOverviewService.reportOverview();
        return Result.success(vo);
    }
}
